package com.hzhc.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hzhc.entity.YwOrderCar;
import com.hzhc.vo.VehicleReservationVo;
import com.hzhc.vo.YwOrderCarVo;
import com.hzhc.vo.YwOrderVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 散改集车辆明细 Mapper 接口
 * </p>
 *
 * @author 1
 * @since 2024-06-20
 */
@Mapper
public interface YwOrderCarMapper extends BaseMapper<YwOrderCar> {

    List<YwOrderCarVo> getSgjCarMsg(@Param("car") YwOrderCarVo car);

    Integer getCount(@Param("orderNo") String orderNo);

    List<YwOrderCar> getYwOrderCarList(@Param("vo") YwOrderVo vo);

    List<YwOrderVo> getSgjYwOrderList(@Param("vo")VehicleReservationVo vo);

    IPage<YwOrderCarVo> getPowerCarList(Page<YwOrderCarVo> page, YwOrderVo vo);
}
